package com.cskaoyan.service.back;

import com.cskaoyan.bean.po.BasePageInfo;
import com.cskaoyan.bean.po.CommonData;
import com.cskaoyan.bean.po.MarketTopic;
import com.cskaoyan.bean.vo.back.TopicBatchDeleteVO;
import com.cskaoyan.bean.vo.back.TopicCreateVO;
import com.cskaoyan.bean.vo.back.TopicReadVO;

/**
 * @author 12-江涛
 * @since 2022/10/13  9:03
 */
public interface TopicService {
    CommonData<MarketTopic> topicList(BasePageInfo basePageInfo,String title,String subtitle);

    TopicCreateVO topicCreate(MarketTopic marketTopic);

    TopicReadVO topicRead(Integer id);

    int topicUpdate(MarketTopic marketTopic);

    int topicDelete(MarketTopic marketTopic);

    int batchDelete(TopicBatchDeleteVO topicBatchDeleteVO);

}
